package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.TOrderInfo;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface TOrderInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TOrderInfo record);

    int insertSelective(TOrderInfo record);

    TOrderInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TOrderInfo record);

    int updateByPrimaryKey(TOrderInfo record);
    
    public List<TOrderInfo> searchByPage(Map<String,Object> searchParams);
    
    public TOrderInfo selectByOrderCode(String orderCode);
}